/**
 * 基础组件加载：Vue
 */
import '@babel/polyfill';
import Vue from 'vue';
import {initial} from "./initial";

window.onerror = function(err) {
	console.log("file: main.js:9  err:", err)
}
initial().then(({router,store,i18n,App})=>{
	let vueInstance = new Vue({
		// mixins: mixins,
		router,
		store,
		i18n,
		render: h => h(App),
		created() {

		},
		computed: {

		},
		watch: {

		}
	});
	vueInstance.$mount('#app');
	Vue.prototype.$Message = vueInstance.$Message
	vueInstance.$Message.config({
		top: 80,
		duration: 5
	});
});
